<b>rate this entry</b>: currently <%= number_with_precision(entry.rating, 1) %>/5.0 stars
<ul class='star-rating'>
<li class='current-rating' style='width:<%= (entry.rating * 23).to_i -%>px;'>
      
        </li>
    <li>
        <%= link_to_remote( "1", {:url => { :controller => "rating", 
            :action => "rate", :id => entry.id, :rating => 1}},
            :class => 'one-star', :name => '1 star out of 5') %>
    </li>
    <li>
        <%= link_to_remote( "2", {:url => { :controller => "rating", 
            :action => "rate", :id => entry.id, :rating => 2}},
            :class => 'two-stars', :name => '2 stars out of 5') %>    
    </li>
    <li>
        <%= link_to_remote( "3", {:url => { :controller => "rating", 
            :action => "rate", :id => entry.id, :rating => 3}},
            :class => 'three-stars', :name => '3 stars out of 5') %>
    </li>
    <li>
        <%= link_to_remote( "4", {:url => { :controller => "rating", 
            :action => "rate", :id => entry.id, :rating => 4}},
            :class => 'four-stars', :name => '4 stars out of 5') %>    
    </li>
    <li>
        <%= link_to_remote( "5", {:url => { :controller => "rating", 
            :action => "rate", :id => entry.id, :rating => 5}},
            :class => 'five-stars', :name => '5 stars out of 5') %>
    </li>
</ul>
